#ifndef MOD_GRAPHVIZ_H
#define MOD_GRAPHVIZ_H

#include <apr_hash.h>
#include <ap_config.h>
#include <httpd.h>
#include <http_config.h>

#define GRAPHVIZ_MAGICE_TYPE "application/x-httpd-graphviz"

typedef struct
{
    int enabled;
    apr_hash_t *engines;
    apr_hash_t *formats;
    apr_array_header_t *font_paths;
} graphviz_srv_conf;

typedef struct
{
    const char *default_engine;
    const char *default_format;
} graphviz_dir_conf;

extern module AP_MODULE_DECLARE_DATA graphviz_module;

#endif
